package cn.anecansaitin.firecrafting.common.menu;

import cn.anecansaitin.firecrafting.ModConstant;
import net.minecraft.world.inventory.MenuType;
import net.minecraftforge.common.extensions.IForgeMenuType;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

public class ModMenuTypes {
    public static final DeferredRegister<MenuType<?>> MENU = DeferredRegister.create(ForgeRegistries.CONTAINERS, ModConstant.MOD_ID);
    public static final RegistryObject<MenuType<FireInterfaceMenu>> FIRE_INTERFACE_MENU =  MENU.register("fire_interface_menu", () -> IForgeMenuType.create(FireInterfaceMenu::new));
}
